Termination w.r.t. Q of the following Term Rewriting System could be proven:
Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
car(.(x, y)) → x
cdr(.(x, y)) → y
null(nil) → true
null(.(x, y)) → false
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
↳ QTRS
↳ RRRPoloQTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
car(.(x, y)) → x
cdr(.(x, y)) → y
null(nil) → true
null(.(x, y)) → false
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following Q TRS is given: Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
car(.(x, y)) → x
cdr(.(x, y)) → y
null(nil) → true
null(.(x, y)) → false
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following rules can be removed by the rule removal processor [15] because they are oriented strictly by a polynomial ordering:
car(.(x, y)) → x
cdr(.(x, y)) → y
null(nil) → true
Used ordering:
Polynomial interpretation [25]:
POL(++(x1, x2)) = x1 + x2
POL(.(x1, x2)) = x1 + x2
POL(car(x1)) = 2 + 2·x1
POL(cdr(x1)) = 1 + 2·x1
POL(false) = 1
POL(nil) = 0
POL(null(x1)) = 1 + x1
POL(rev(x1)) = x1
POL(true) = 0
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
null(.(x, y)) → false
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following Q TRS is given: Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
null(.(x, y)) → false
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following rules can be removed by the rule removal processor [15] because they are oriented strictly by a polynomial ordering:
null(.(x, y)) → false
Used ordering:
Polynomial interpretation [25]:
POL(++(x1, x2)) = x1 + x2
POL(.(x1, x2)) = x1 + x2
POL(false) = 1
POL(nil) = 0
POL(null(x1)) = 2 + 2·x1
POL(rev(x1)) = x1
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following Q TRS is given: Q restricted rewrite system:
The TRS R consists of the following rules:
rev(nil) → nil
rev(.(x, y)) → ++(rev(y), .(x, nil))
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following rules can be removed by the rule removal processor [15] because they are oriented strictly by a polynomial ordering:
rev(nil) → nil
Used ordering:
Polynomial interpretation [25]:
POL(++(x1, x2)) = x1 + x2
POL(.(x1, x2)) = x1 + x2
POL(nil) = 0
POL(rev(x1)) = 1 + x1
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
rev(.(x, y)) → ++(rev(y), .(x, nil))
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following Q TRS is given: Q restricted rewrite system:
The TRS R consists of the following rules:
rev(.(x, y)) → ++(rev(y), .(x, nil))
++(nil, y) → y
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following rules can be removed by the rule removal processor [15] because they are oriented strictly by a polynomial ordering:
rev(.(x, y)) → ++(rev(y), .(x, nil))
++(nil, y) → y
Used ordering:
Polynomial interpretation [25]:
POL(++(x1, x2)) = x1 + x2
POL(.(x1, x2)) = 2 + 2·x1 + x2
POL(nil) = 1
POL(rev(x1)) = 2·x1
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
Q restricted rewrite system:
The TRS R consists of the following rules:
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following Q TRS is given: Q restricted rewrite system:
The TRS R consists of the following rules:
++(.(x, y), z) → .(x, ++(y, z))
Q is empty.
The following rules can be removed by the rule removal processor [15] because they are oriented strictly by a polynomial ordering:
++(.(x, y), z) → .(x, ++(y, z))
Used ordering:
Polynomial interpretation [25]:
POL(++(x1, x2)) = 2 + 2·x1 + 2·x2
POL(.(x1, x2)) = 1 + 2·x1 + x2
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RRRPoloQTRSProof
↳ QTRS
↳ RisEmptyProof
Q restricted rewrite system:
R is empty.
Q is empty.
The TRS R is empty. Hence, termination is trivially proven.